<style>
.content-group {background:#fff;border-radius: 0.5rem;margin-bottom:0.39rem}
.merchname {display:none}
.fui-tab-scroll .item a {color:#fff;font-weight:400}
.fui-tab-scroll .item.on,.fui-tab-scroll .item.on a{color:#fff;}
.fui-tab-scroll .item.on:before {background:linear-gradient(to right,rgba(255,255,255,1),rgba(255,255,255,0));}
.fui-icon-group .fui-icon-col {
    margin: 0.1rem 0;
}
.carousel {margin-top:0}
.fui-header:after {
	border-bottom: 0 solid #D9D9D9;
}
.fui-notice:after, .fui-notice:before  {
	border-bottom: 0 solid #D9D9D9;
	border-top: 0 solid #D9D9D9;
}
.bottombg {position: absolute;margin-top:-0.5rem;width:100%;height:0.5rem;border-top-right-radius:0.5rem;border-top-left-radius:0.5rem;}
.topbg {height:4rem;}
.topbg.nosearch{height:2rem;}
.search-input i {
    color: {{main.syscolor||'#b4b4b4'}};
}
.search-input input {
	border: 0 solid #b4b4b4;
}
.radius .jy-group {border-radius:0.5rem;margin:0.2rem 0.5rem}
</style>
<div ng-include="sys_html('common/_header','','','jy_weishop')"></div>
<div ng-if="pagedata.nodatapic_close" class="fui-page fui-page-current page-goods-list">
<div class='fui-content' style="top:0">
	<div ng-class="{'topbg':1,'nosearch':pagedata.setting.issearch==1}" style="height:5rem;position: relative;text-align:center;width:100%;background: {{main.syscolor || '#7c1cc9'}};">
		<div class="fui-cell-group" style="margin-top:0;background:none;">
		<div class="fui-cell" style="background:none;padding:0 0.5rem">
			<div class="fui-cell-label" style="width:auto;line-height: 2.4rem;">
				<img style="height:1.2rem" ng-src="{{tomedia(pagedata.setting.toplogo) || '../addons/jy_weishop/resource/images/logo.png'}}"/>
			</div>
			<div class="fui-cell-info" style="color:#fff;text-align:left">
				<span style="font-size: 0.65rem;width:6rem;overflow: hidden">{{pagedata.pluginset.title||'礼包平台'}}</span>
			</div>
			<div class="fui-cell-remark noremark" style="color:#fff;">
				<i ng-if="main.isapp!=1" class="icon icon-saoyisao1" ng-click="pagedata.scancode()" style="font-size: 0.8rem;margin-right:0.2rem"></i>
				<i ng-if="main.isapp!=1" class="icon icon-fenxiang2" onclick="$('#showsharecover').modal();" style="font-size: 0.85rem;margin-right:0.2rem"></i>
			</div>
		</div>
		</div>
		<div ng-if="pagedata.pluginset.issearch!=1" class="fui-cellone" style="padding-bottom:0;padding-top:0;padding-right:0.4rem;z-index: 108;top:0;">
			 <div class="fui-cellone-info">
				<div class="search-input" style="height:1.6rem">
					<form action="javascript:return true">
					<i id="searchsub" class="icon icon-sousuo1 bold" ng-click="access_json('jy_weishop/sale.kabao//keyword='+pagedata.params.keyword)" style="line-height: 1.7rem;"></i>
					<input type="search" placeholder="搜索礼包" class="search" ng-model="pagedata.params.keyword" style="height:1.6rem;text-align: left; color: #999; font-size:0.6rem;background:#f9f9f9;border-radius: 1rem;" />
					</form>
				</div>
			 </div>
			 <div class="fui-cellone-remark noremark">
			 	<span style="margin-left:0.3rem;font-size: 0.75rem;color:#fff" ng-click="access_json('jy_weishop/sale.kabao//keyword='+pagedata.params.keyword)">搜索</span>
			 </div>
		</div>
	</div>
	<div class="bottombg" style="background:#f7f7f7;"></div>
	<div ng-if="pagedata.params.pid==0 && !pagedata.setting.ishdps" ng-include="sys_html('shop/_hdps')" class="radius" style="padding:0 0.5rem;"></div>
	<div ng-if="pagedata.params.pid==0 && !pagedata.setting.isnotice" ng-include="sys_html('shop/_notice')" class="radius" style="padding:0 0.5rem;"></div>
	<div style="padding:0 0.3rem">
	<style>
	.fui-goods-item .image .playbtn {
		background: rgba(0, 0, 0, 0.3);
		position: absolute;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1;
		padding-top:3rem;
		text-align: center;
		color: #fff;
	}
	.fui-goods-group.block .fui-goods-item .detail {height:auto}
	.fui-goods-group.block .fui-goods-item .detail.commission_money {height:auto}
	</style>
	<div ng-if="pagedata.list" class="fui-goods-group block">
				<div ng-repeat="item in pagedata.list" class="fui-goods-item">
					<div ng-click="access_json('jy_weishop/sale.kabaoitem//id='+item.id);" ng-class="{'image':1, 'echelon':item.active.title}" data-text="{{item.active.title}}" style="position:relative;background-image: url({{tomedia(item.image) ||'../core/resource/images/nopic.jpg'}})">
					</div>
					<div class="detail" ng-class="{'detail':1,'commission_money':item.commission_title}">
						<div ng-click="access_json('jy_weishop/sale.kabaoitem//id='+item.id);" class="name">
								{{item.title}}
						</div>
						<div class="price">
							<span class="text">￥{{item.buyprice}}</span>
							<span href="javascript:" ng-click="access_json('jy_weishop/sale.kabaoitem//id='+item.id);" class="syscolorred"><i class="icon icon-tianmaochaoshigouwuche"></i></span>
						</div>
						<div class="goods-tag" style="font-size:0.5rem;">
							<div class="fui-tag fui-tag-danger fee-tag-zi" style="font-size:0.5rem;margin-right:0.15rem">价值￥{{item.price || '0.00'}}</div>
						</div>
					</div>
				</div>
	</div>
	<script>
	scope.pagedata.isa2=1
	var getlistaction='jy_weishop/sale.kabao/getlist/';
	scope.tool.get_list(getlistaction,true);
	scope.pagedata.scroll_bottom=function(){
		scope.tool.get_list(getlistaction);
	}
	</script>
	</div>
</div>
</div>
<div ng-include="sys_html('common/_share','','','jy_weishop')"></div>
<div ng-include="sys_html('common/pluginnav',true)"></div>
